// import api from "../../api"

export default{
    async getShopData(ctx){
        let data = uni.getStorageSync('shop')
            if(data){
                ctx.commit('setShopData',data)
                console.log(data);
            }else{
                ctx.commit('setShopData',[])
            }
            return data
    }
}